package com.wxf.mapper;

import com.wxf.pojo.Patientmedicine;
import com.wxf.pojo.PatientmedicineExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatientmedicineMapper {
    long countByExample(PatientmedicineExample example);

    int deleteByExample(PatientmedicineExample example);

    int deleteByPrimaryKey(Integer patientId);

    int insert(Patientmedicine record);

    int insertSelective(Patientmedicine record);

    List<Patientmedicine> selectByExample(PatientmedicineExample example);

    Patientmedicine selectByPrimaryKey(Integer patientId);

    int updateByExampleSelective(@Param("record") Patientmedicine record, @Param("example") PatientmedicineExample example);

    int updateByExample(@Param("record") Patientmedicine record, @Param("example") PatientmedicineExample example);

    int updateByPrimaryKeySelective(Patientmedicine record);

    int updateByPrimaryKey(Patientmedicine record);
}